package com.young.springdemo.config.annotation;

/**
 * @program: springdemo
 * @description 日志操作层级的记录日志
 * @author: Young
 * @create: 2020-05-28 15:19
 **/
public enum LogOperateType {

    CREATE("create","创建"),
    DELETE("delete","删除"),
    MODIFY("modify","修改"),
    QUERY("query","查询");

    LogOperateType(String operteType, String desc) {
        this.operteType = operteType;
        this.desc = desc;
    }

    private String operteType;//操作类型
    private String desc;//操作描述

    public String getOperteType() {
        return operteType;
    }

    public void setOperteType(String operteType) {
        this.operteType = operteType;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
